<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="Public/Bootstrap/Css/bootstrap.min.css">
    <style>
        form input{
            width: 100%;
        }
        .container{
            margin-top:50px;
        }
    </style>
    <!--载入hdjs-->
    <link rel="stylesheet" href="Public/hdjs/hdjs.css">
    <script src="Public/jquery-1.8.2.min.js"></script>
    <script src="Public/hdjs/hdjs.min.js"></script>
</head>
<body>
<div class="container">
<form onsubmit="return hd_submit(this,'{{U('reg')}}','{{U('login')}}')">
    <div class="form-group">
        <label for="exampleInputEmail1">用户名</label>
        <input type="text" class="form-control" id="exampleInputEmail1" name="username">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">密码</label>
        <input type="password" class="form-control" id="exampleInputPassword1" name="password">
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">验证码</label>
        <input type="text" class="form-control" id="exampleInputPassword1" name="code">
        <img src="{{U('code')}}" alt="">

    </div>
    <br>

    <button type="submit" class="btn btn-info btn-block">注册</button>
</form>
</div>
</body>
</html>